/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package rg1abstractclassdemo2;

/**
 *
 * @author apple
 */
public abstract class Shape {
    
    double basicLength;

    public Shape() {
    }

    public Shape(double basicLength) {
        this.basicLength = basicLength;
    }

    public double getBasicLength() {
        return basicLength;
    }

    public void setBasicLength(double basicLength) {
        this.basicLength = basicLength;
    }
    
    public abstract double getArea();
}
